// 1.引入express包
const express = require('express');
// 2.使用Router来创建路由
const router = express.Router();
// 3.引入控制器模块
const controller = require('../controller/ctrlIndex');

router.get('/admin/index', controller.BEIndex);
router.get('/admin/', controller.BEIndex);


// 4.2 首页
// router.get('/', controller.BEIndex);

module.exports = router;